package ex4.dy;

/**
 * @author: knowno
 * @create: 2024-09-05 15:53
 * @Version 1.0
 **/
public class Lion extends Animal implements IPerform {

    public Lion(String name) {
        super(name);
    }

    @Override
    public void perform() {
        System.out.println("狮子 " + getName() + " 在表演芭蕾舞");
    }

}
